package com.bio.entity.right;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bio.entity.BaseObject;

@Entity
@Table(name = "table_right_menu")
public class Menu extends BaseObject{

	private static final long serialVersionUID = -4831625619872974173L;

	/**
	 * 菜单名称
	 */
	private String name;
	
	/**
	 * 上级id
	 */
	private Long superiorId;

	/**
	 * 超链接
	 */
	private String url;
	
	/**
	 * 前景图标
	 */
	private String frontPic;

	/**
	 * 背景图标
	 */
	private String backPic;

	@Column(name="name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name="superior_id")
	public Long getSuperiorId() {
		return superiorId;
	}

	public void setSuperiorId(Long superiorId) {
		this.superiorId = superiorId;
	}

	@Column(name="url")
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Column(name="front_pic")
	public String getFrontPic() {
		return frontPic;
	}

	public void setFrontPic(String frontPic) {
		this.frontPic = frontPic;
	}

	@Column(name="back_pic")
	public String getBackPic() {
		return backPic;
	}

	public void setBackPic(String backPic) {
		this.backPic = backPic;
	}
}
